import Router from "vue-router";
import Vue from "vue";
Vue.use(Router);
const router = new Router({
    routes: [{
        path:'/add_goods',
        name:'index',
        component: resolve => require(["../components/HelloWorld"], resolve),
    }]
  });
  router.afterEach((to,from,next)=>{
    window,scrollTo(0,0)
  })
export default router